local banghui = fk.CreateSkill({
    name = "sj6__banghui",
  })
  
  Fk:loadTranslationTable{
    ["sj6__banghui"] = "谤毁",
    [":sj6__banghui"] = "出牌阶段限一次，你可令一名角色选择受到1点无来源伤害或弃置两张牌。<br>背水：令你获得1个“非”。",
    
    ["#sj6__banghui_sh"] = "受到1点无来源伤害",
    ["#sj6__banghui_qi"] = "弃置两张牌",
    ["#sj6__banghui_bs"] = "背水：令%src获得1个“非”",
    ["#sj6__banghui"] = "谤毁：你可令一名角色选择受到1点无来源伤害或弃置两张牌，其可以背水后令你获得1个“非”",
    ["@sj6__banghui"] = "非",

    ["$sj6__banghui1"] = "殿堂之间，皆为不忠之贼！",
    ["$sj6__banghui2"] = "玉陛之下，尽是叛逆之臣！",  
  }

  banghui:addEffect("active", {
    prompt = "#sj6__banghui",
    target_num = 1,
    can_use = function(self, player)
      return player:usedSkillTimes(banghui.name, Player.HistoryPhase) == 0
    end,
    card_filter = Util.FalseFunc,
    target_filter = function (self, player, to_select, selected, selected_cards)
      return #selected == 0
    end,
    on_use = function(self, room, effect)
      local player = effect.from
      local target = effect.tos[1]
      local ask = {"#sj6__banghui_sh"}
      if #target:getCardIds("he") > 1 then
        ask = {"#sj6__banghui_sh","#sj6__banghui_qi", "#sj6__banghui_bs:"..player.id}
      end
      local choice = room:askToChoice(target,{
        choices = ask,
        skill_name = banghui.name
      })
      if choice:startsWith("#sj6__banghui_bs") then
        room:addPlayerMark(player,"@sj6__banghui")
      end
      if choice ~= "#sj6__banghui_qi" then
        room:damage{to = target, damage = 1, skillName = banghui.name}
      end
      if choice ~= "#sj6__banghui_sh" then
        room:askToDiscard(target,{
          min_num = 2,
          max_num = 2,
          include_equip = true,
          skill_name = banghui.name,
          cancelable = false,
        })
      end
    end,
  })

  return banghui